<!--
 * @Author: actor
 * @Date: 2023-11-13 15:42:40
 * @email: 395593455@qq.com
 * @LastEditors: actor
 * @LastEditTime: 2023-12-19 10:21:57
 * @FilePath: \i-hos-app\shared\emr\src\components\insert\TextBox.vue
 * @Description: 文本框插入组件
-->
<template>
  <field class="filed_text filed_blank" title="文本输入域" :data-config="JSON.stringify(config)">{{ config.textVal }}</field>
</template>

<script setup lang="ts">
  import { reactive } from 'vue'
  // 接口约束
  import { IConfig } from '../../interface/page'
  let config: IConfig = reactive({
    type: '文本输入域',
    name: '',
    des: '文本输入域',
    textVal: '文本输入域',
    code: '',
    validate: false,
    edit: true,
    alignment: 'left',
    minWidth: 1,
    bgColor: '#fff',
  })
</script>

<style lang="scss" scoped>
  .filed_text {
    display: inline-block;
  }
</style>
